﻿ALTER TABLE [dbo].[Task]
	ADD CONSTRAINT [TaskToTaskState] 
	FOREIGN KEY ([TaskStateId])
	REFERENCES [dbo].[TaskState] ([Id])
	ON UPDATE CASCADE
	ON DELETE CASCADE
